package com.aizuda.boot.modules.business.contract.mapper;

import com.aizuda.boot.modules.business.contract.entity.EmployeeTableFilterEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface EmployeeTableFilterMapper extends BaseMapper<EmployeeTableFilterEntity> {

    @Select("SELECT * FROM employee_table_filter WHERE employee_id = #{employeeId}")
    EmployeeTableFilterEntity selectByEmployeeId(@Param("employeeId") Long employeeId);
}